package com.siwei.mes.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * 协会信息存储(AssociationStorage)实体类
 *
 * @author linzi
 * @since 2024-07-31 09:00:10
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_association_storage")
@ApiModel(value = "AssociationStorage", description = "协会信息存储")
public class AssociationStorage implements Serializable {
    private static final long serialVersionUID = -70694683978825536L;
    @Id
    @ApiModelProperty(value = "协会信息存储主键ID", name = "id")
    private Long id;
    /**
     * 品控台账id
     */
    @Column(name = "experiment_id")
    @ApiModelProperty(value = "品控台账id", name = "experimentId")
    private Long experimentId;
    /**
     * 协会报告单号
     */
    @Column(name = "report_id")
    @ApiModelProperty(value = "协会报告单号", name = "reportId")
    private String reportId;
    /**
     * 协会材料id
     */
    @Column(name = "sample_id")
    @ApiModelProperty(value = "协会材料id", name = "sampleId")
    private Long sampleId;
    /**
     * 协会规格1id
     */
    @Column(name = "spec_id")
    @ApiModelProperty(value = "协会规格1id", name = "specId")
    private Long specId;
    /**
     * 协会规格2id
     */
    @Column(name = "grade_id")
    @ApiModelProperty(value = "协会规格2id", name = "gradeId")
    private Long gradeId;
}
